package com.xinyue.user.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xinyue.user.pojo.Message;

public interface MessageService {
	 int deleteByPrimaryKey(Integer id)throws Exception;

    int insert(Message record)throws Exception;

    Message selectByPrimaryKey(Integer id)throws Exception;

    List<Message> selectAll()throws Exception;

    int updateByPrimaryKey(Message record)throws Exception;
    
    Message selectById(Integer sid,Integer rid)throws Exception;
}
